package com.example.demo.test;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @desc:
 * @author: fuxiang
 * @date: 2018/3/5 15:00
 */
@Target(ElementType.FIELD)//字段注解
@Retention(RetentionPolicy.RUNTIME)//在运行期保留注解信息
public @interface MyAnnotation1 {
    String name() default "fieldName";
    String getFieldValue() default "getField";
    String setFieldValue() default "setField";
}
